thread:
	make -f makefile.thread
threadd:
	make -f makefile.thread.debug

nthread:
	make -f makefile.nothread
nthreadd:
	make -f makefile.nothread.debug

FLAG  = -DLINUX  -Wno-deprecated -g3  `pkg-config --cflags --libs glib-2.0` -D_THREAD_SAFE -DMYSQL_OPT_RECONN 

LDEF = -D_FILE_OFFSET_BITS=64 -L/home/y/lib -L/usr/lib -lglib-2.0  -pthread
LINC = -I./include -I/home/y/include -I/usr/include/glib-2.0
test:
	$(CC) -fPIC -Wall $(LDEF) $(LINC) $(FLAG) -lmqpool_t -lmysqlclient  -o testpool testt.cc
clean:
	rm -rf *.o *.so* $(exe)
install:
	cp lib$(Name).so* /home/y/lib/
